import { _decorator, Component, Node, NodeEventType } from 'cc';
import 'minigame-api-typings'
const { ccclass, property } = _decorator;

@ccclass('DecRanking')
export class DecRanking extends Component {
    start() {
        this.node.on(Node.EventType.TOUCH_START,this.touchstart,this)
    }
    touchstart() {
        this.node.getParent().destroy()
    }

    update(deltaTime: number) {
        
    }
}


